package de.koller.million.enc.engine;

import de.koller.million.enc.EncNode;
import de.koller.million.enc.engine.entity.Player;
import java.util.HashMap;
import java.util.Map;

public class EntityContainer extends EncNode {
	
	private Map<Integer, Player> players = new HashMap<>();
	
	public void spawnPlayer( String name, float x, float y ) {
		Player p = new Player( name );
		p.position.set( x, y );
		players.put( p.getId(), p );
	}
	
}
